﻿using System.Collections.Generic;
namespace EPS.UI.Agents
{

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ZoneProxy : System.ServiceModel.ClientBase<EPS.Contracts.IZone>, EPS.Contracts.IZone
    {

        public ZoneProxy()
        {
        }

        public ZoneProxy(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public ZoneProxy(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public ZoneProxy(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public ZoneProxy(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public List<EPS.Contracts.Zone> GetBySql(string sql)
        {
            return base.Channel.GetBySql(sql);
        }


        public void Insert(Contracts.Zone zone)
        {
            base.Channel.Insert(zone);
        }

        public void Update(Contracts.Zone zone)
        {
            base.Channel.Update(zone);
        }

        public void DelById(string Keyid)
        {
            base.Channel.DelById(Keyid);
        }
    }
}